package com.bw.paper.mvp.contract;

import com.bw.paper.mvp.base.model.BaseEntity;
import com.bw.paper.mvp.base.model.IModel;
import com.bw.paper.mvp.base.view.IView;
import com.bw.paper.mvp.model.entity.UploadFileEntity;

import java.util.Map;

import io.reactivex.Observable;

public interface UserDetailsContract {

    interface IUserDetailsModel extends IModel{
        Observable<BaseEntity>requestUser(Map<String,Object>map);
        Observable<BaseEntity>updateUser(Map<String,Object>map);
        Observable<UploadFileEntity>uploadHead(Map<String,Object>map);
    }

    interface IUserDetailsView extends IView{
        void refreshView(BaseEntity entity);
    }

}
